<?php
/**
 * Created by JetBrains PhpStorm.
 * User: scala
 * Date: 12-10-27
 * Time: 上午12:44
 * To change this template use File | Settings | File Templates.
 */
class EmarketingModel extends CommonModel
{
    protected $_validate=array(
        array('title','require','请输入文章标题！'),
        array('content','require','请输入正文！'),
    );




    protected $_auto=array(
        array("createtime","time",Model::MODEL_INSERT,"function"),
        array("author","getMemberId",Model::MODEL_BOTH,"callback"),
    );



}
